<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JsUnit main-results.html</title>
    <link rel="stylesheet" type="text/css" href="../css/jsUnitStyle.css">
</head>

<body>
<form name="resultsForm" action="/" method="post" target="_top">
<input type="hidden" name="id">
<input type="hidden" name="browserId">
<input type="hidden" name="userAgent">
<input type="hidden" name="jsUnitVersion">
<input type="hidden" name="time">
<input type="hidden" name="url">
<input type="hidden" name="cacheBuster">
<input type="hidden" name="userProperty">
<select size="5" name="testCaseResults" multiple></select>
</form>
<script language="javascript" type="text/javascript">
    function populateHeaderFields(id, browserId, userAgent, jsUnitVersion, baseURL) {
        document.resultsForm.id.value = id;
        document.resultsForm.browserId.value = browserId;
        document.resultsForm.userAgent.value = userAgent;
        document.resultsForm.jsUnitVersion.value = jsUnitVersion;
        document.resultsForm.url.value = baseURL;
        document.resultsForm.cacheBuster.value = new Date().getTime();
    }
    function submitResults() {
        var testCasesField = document.resultsForm.testCaseResults;
        for (var i = 0; i < testCasesField.length; i++) {
            testCasesField[i].selected = true;
        }
        document.resultsForm.submit();
    }
</script>
</body>
</html>
